62a040175a9be317fde10a477ffc3458daea3904,mvvmfx/src/test/java/de/saxsys/mvvmfx/utils/mapping/ModelWrapperTest.java,ModelWrapperTest,testDifferentFlag,#,346

Before Change


        nicknames.remove("captain");
        assertThat(personWrapper.isDifferent()).isTrue();

        nicknames.remove("captain");
        assertThat(personWrapper.isDifferent()).isTrue();

        nicknames.add("captain");

After Change


		
		// ... but if we add another value to the nickname-Property, the modelWrapper can react to this change
		person.getNicknames().add("other");
		nicknames.add("other");
		assertThat(personWrapper.isDifferent()).isFalse();